<div th:fragment="buttons">
    <div class="form-buttons">
        <div class="drag-box drag-item form-group" data-type="drag_buttons" style="display: flex;align-items: baseline;padding-left: 10px;">
            <button type="button" class="btn btn-w-m btn-default">一个按钮</button>
        </div>
    </div>

    <script>
        var drag_buttons = {
            btn_text: {name: "名称", value: ""},
            btn_color: {name: "颜色", value: ""}
        }
    </script>
</div>